import React from 'react';
import icon from '../../components/Home/imgs/扬声器 .svg'
import '../../components/Home/Notice.scss'

class Notice extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            icon: icon,
            text: "1分抵1元。请您点击此处查看《购物须知》"
        }
    }
    render() {
        return (
            <div className='Notice'>
                <img src={this.state.icon} />
                <span className='text'>{this.state.text}</span>

            </div>
        );
    }
}

export default Notice;